<!DOCTYPE HTML>
<html lang="en">
<head>
    <title>报表模板配置</title>

    <meta http-equiv="x-ua-compatible" content="ie=edge"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>


    <meta name="renderer" content="webkit"/>
    <!--toast-->
    <link href="../metronic/assets/global/plugins/jquery.toast.css " rel="stylesheet"/>
    <script src="../metronic/assets/global/plugins/jquery.min.js" type="text/javascript"></script>
    <script src="../metronic/assets/global/plugins/jquery.toast.min.js" type="text/javascript"></script>


    <!-- BEGIN GLOBAL MANDATORY STYLES -->
    <link
            href="../metronic/assets/global/plugins/font-awesome/css/font-awesome.min.css"
            rel="stylesheet" type="text/css"/>
    <link
            href="../metronic/assets/global/plugins/simple-line-icons/simple-line-icons.min.css"
            rel="stylesheet" type="text/css"/>
    <link
            href="../metronic/assets/global/plugins/bootstrap/css/bootstrap.min.css"
            rel="stylesheet" type="text/css"/>
    <link
            href="../metronic/assets/global/plugins/uniform/css/uniform.default.css"
            rel="stylesheet" type="text/css"/>
    <link
            href="../metronic/assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css"
            rel="stylesheet" type="text/css"/>
    <!-- END GLOBAL MANDATORY STYLES -->
    <!-- BEGIN PAGE LEVEL STYLES -->
    <link rel="stylesheet" type="text/css"
          href="../metronic/assets/global/plugins/select2/select2.css"/>
    <link rel="stylesheet" type="text/css"
          href="../metronic/assets/global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.css"/>
    <link href="../metronic/assets/global/plugins/bootstrap-fileinput/bootstrap-fileinput.css" rel="stylesheet"
          type="text/css"/>
    <!-- END PAGE LEVEL STYLES -->
    <!-- BEGIN THEME STYLES -->
    <link href="../metronic/assets/global/css/components.css"
          id="style_components" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" type="text/css"
          href="../metronic/assets/global/plugins/bootstrap/css/bootstrap-table.css"/>
    <!-- END THEME STYLES -->
    <style type="text/css">
        .form-group {
            margin-bottom: 5px;
        }

        .help-inline {
            color: red;
        }

        #tb_dataList {
            border-top: solid 3px #F3565D;
        }

        .table-toolbar {
            margin-bottom: 0px;
        }
    </style>
</head>

<body class="page-header-fixed page-quick-sidebar-over-content "
      style="width: 98%; background: #0f0; background-color: transparent;">
<div class="row" style="margin-top:16px;">
    <div class="col-md-12">
        <!-- BEGIN EXAMPLE TABLE PORTLET-->
        <div class="portlet box blue-steel">
            <div class="portlet-title">
                <div class="caption">
                    <i class="fa fa-globe"></i>报表模板配置
                </div>
                <div class="actions">
                    <a id="btn_add" href="javascript:;" class="btn btn-default btn-sm">
                        <i class="fa fa-plus"></i> 新增模板
                    </a> <!--
						<a id="btn_edit" href="javascript:;"
							class="btn btn-default btn-sm"> <i class="fa fa-edit"></i> 修改
						</a> 
						<a id="btn_del" href="javascript:;"
							class="btn btn-default btn-sm"> <i class="fa fa-remove"></i>
							删除
						</a> -->
                    <a id="btn_ref" href="javascript:;"
                       class="btn btn-default btn-sm"> <i class="fa fa-refresh"></i>
                        刷新
                    </a>
                </div>
            </div>
            <div class="portlet-body">
                <div class="table-toolbar">
                    <div class="row">
                        <div class="col-md-3">
                            <input id="searchTxt" type="text" class="form-control"
                                   placeholder="请输入关键字"/>
                        </div>
                        <div class="col-md-6">
                            <div class="btn-group">
                                <button id="btn_Search" class="btn blue">
                                    查询 <i class="fa fa-search"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                <table id="tb_dataList"></table>
            </div>
        </div>
        <!-- END EXAMPLE TABLE PORTLET-->
    </div>
</div>

<!-- Begin添加修改modal -->
<div id="EditContent" class="modal fade" tabindex="-1"
     aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-hidden="true"></button>
                <h4 class="modal-title">报表模板配置</h4>
            </div>
            <div class="modal-body">
                <div class="scroller" style="height:300px" data-always-visible="1"
                     data-rail-visible1="1">
                    <input type="hidden" id="guid" name="guid">
                    <div class="form-horizontal form-body">
                        <div class="form-group">
                            <label class="col-md-3 control-label">模板名称</label>
                            <div class="col-md-9">
                                <input id="templatename" name="templatename" type="text"
                                       class="form-control input-inline input-medium"
                                       placeholder="请输入模板名称"> <span id="valide_templatename"
                                                                    class="help-inline"></span>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-md-3 control-label">模板类型</label>
                            <div class="col-md-9">
                                <select id="templatetype" name="templatetype"
                                        class="form-control input-inline input-medium" placeholder="请选择数据库版本">
                                    <option value="">请选择模板类型</option>
                                    <option value="simple">简单报表</option>
                                    <option value="ceosstab">交叉报表</option>
                                    <option value="complex">复杂报表</option>
                                </select>
                                <span id="valide_templatetype"
                                      class="help-inline"> </span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-3 control-label">模板说明</label>
                            <div class="col-md-9">
                                <input id="templatedesc" name="templatedesc" type="text"
                                       class="form-control input-inline input-medium"
                                       placeholder="请输入中文说明">
                                <span id="valide_templatedesc" class="help-inline"></span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-3 control-label">模板文件</label>
                            <div class="col-md-9">
                                <input type="file" name="file" id="jasperToUpload">
                                <span id="valide_jasperToUpload" class="help-inline"></span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-3 control-label">模板地址</label>
                            <div class="col-md-9">
                                <input id="templateurl" name="templateurl" type="text"
                                       class="form-control input-inline input-medium"
                                       disabled="disabled">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-3 control-label">jrxml文件</label>
                            <div class="col-md-9">
                                <input type="file" name="file" id="jrxmlToUpload">
                                <span id="valide_jrxmlToUpload" class="help-inline"></span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-3 control-label">jrxml地址</label>
                            <div class="col-md-9">
                                <input id="jrxmlurl" name="jrxmlurl" type="text"
                                       class="form-control input-inline input-medium"
                                       disabled="disabled">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" data-dismiss="modal" class="btn default">关闭
                </button>
                <button id="btn_save" type="button" class="btn blue">保存</button>
            </div>
        </div>
    </div>
</div>
<!-- End添加修改 -->
<!-- Begin添加修改modal -->
<!-- <div id="EditAddonsContent" class="modal fade" tabindex="-1"
    aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                    aria-hidden="true"></button>
                <h4 class="modal-title">报表模板属性配置</h4>
            </div>
            <div class="modal-body">
                <div class="scroller" style="height:300px" data-always-visible="1"
                    data-rail-visible1="1">
                    <input type="hidden" id="addonsGuid" name="guid">
                    <input type="hidden" id="addonstempId" name="tempid">
                    <div class="form-horizontal form-body">
                        <div class="form-group">
                            <label class="col-md-3 control-label">属性编码</label>
                            <div class="col-md-9">
                                <input id="propname" name="propname" type="text"
                                    class="form-control input-inline input-medium"
                                    placeholder="请输入属性编码"> <span id="valide_propname"
                                    class="help-inline"></span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-3 control-label">属性名称</label>
                            <div class="col-md-9">
                                <input id="propcaption" name="propcaption" type="text"
                                    class="form-control input-inline input-medium"
                                    placeholder="请输入属性名称"> <span id="valide_propcaption"
                                    class="help-inline"></span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-3 control-label">备注</label>
                            <div class="col-md-9">
                                <input id="addonsRemark" name="remark" type="text"
                                    class="form-control input-inline input-medium"
                                    placeholder="请输入中文描述"> <span id="valide_addons_remark"
                                    class="help-inline"></span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" data-dismiss="modal" class="btn default">关闭
                </button>
                <button id="btn_addons_save" type="button" class="btn blue">保存</button>
            </div>
        </div>
    </div>
</div> -->
<!-- End添加修改 -->

<!--<script src="../metronic/assets/global/plugins/jquery.min.js"-->
        <!--type="text/javascript"></script>-->
<script src="../metronic/assets/global/plugins/jquery-migrate.min.js"
        type="text/javascript"></script>
<!-- IMPORTANT! Load jquery-ui.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
<script src="../metronic/assets/global/plugins/jquery-ui/jquery-ui.min.js"
        type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/ajaxfileupload.js"
        type="text/javascript"></script>
<script
        src="../metronic/assets/global/plugins/bootstrap/js/bootstrap.min.js"
        type="text/javascript"></script>
<script
        src="../metronic/assets/global/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js"
        type="text/javascript"></script>
<script
        src="../metronic/assets/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js"
        type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/jquery.blockui.min.js"
        type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/jquery.cokie.min.js"
        type="text/javascript"></script>
<script
        src="../metronic/assets/global/plugins/uniform/jquery.uniform.min.js"
        type="text/javascript"></script>
<script
        src="../metronic/assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js"
        type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap-fileinput/bootstrap-fileinput.js"
        type="text/javascript"></script>
<!-- END CORE PLUGINS -->
<!-- BEGIN PAGE LEVEL SCRIPTS -->
<script src="../metronic/assets/global/scripts/metronic.js"
        type="text/javascript"></script>
<script
        src="../metronic/assets/global/plugins/bootstrap/js/bootstrap-table.js"
        type="text/javascript"></script>
<script
        src="../metronic/assets/global/plugins/bootstrap/js/bootstrap-table-zh-CN.js"
        type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootbox/bootbox.min.js"
        type="text/javascript"></script>
<!-- END PAGE LEVEL SCRIPTS -->
<script src="../metronic/custom/commDialogs.js" type="text/javascript"></script>
<script src="../js/systemManager/jasperReportTemplate.js" type="text/javascript"></script>

</body>
</html>
